<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <p>worker example</p>
    <p>请打开控制台看日志</p>
    <p>参考：https://developer.mozilla.org/zh-CN/docs/Web/API/Web_Workers_API/Using_web_workers</p>

    <script src="main.js"></script>
</body>
</html>